fix: move BMB announcement to custom Banner component#23
Conversation
Starlight banner config doesn't render with custom Header. Added announcement row to Banner.astro and removed unused config.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 21 minutes and 27 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 Augment PR SummarySummary: Moves the community announcement from Starlight’s 🤖 Was this summary useful? React with 👍 or 👎 |
| <div class="ai-banner"> | ||
| <span>🤖 AI-optimized docs: <a href={llmsFullUrl}>llms-full.txt</a></span> | ||
| </div> | ||
| <div class="announce-banner"> |
There was a problem hiding this comment.
custom.css sets --sl-nav-height and the inner header height assuming a single --ai-banner-height banner row; adding a second banner here may cause the header/content to overlap or be clipped. Consider verifying/adjusting the nav height math so the layout accounts for both banner rows.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
| .ai-banner span { | ||
| .ai-banner span, | ||
| .announce-banner span { | ||
| white-space: nowrap; |
There was a problem hiding this comment.
Applying white-space: nowrap + overflow: hidden + ellipsis to .announce-banner span will likely truncate the long announcement on narrow viewports, potentially hiding the CTA links (making them unreachable). Consider ensuring the important links remain visible/clickable on mobile.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
Summary
Banner.astroas a second row (Starlight banner config doesn't render with custom Header)bannerconfig fromastro.config.mjsTest plan